#pragma once
#include <iostream>
#include <sys/shm.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <unistd.h>

#define PATHNAME "./.getkey"
#define KEY_ID 0x1314
#define SHM_SIZE 2048

key_t GetKey()
{
    return ftok(PATHNAME, KEY_ID);
}

using namespace std;